#ifndef _BPMREADER_H_
#define _BPMREADER_H_

#include <time.h>

class BPMReader
{
	public:

		BPMReader();

		~BPMReader();

		void tap();

		float getLapse();

		float getBpm();

	private:

		clock_t start;

		clock_t end;

		float lapse;

		float bpm;

		bool dirty;
};

#endif // _BPMREADER_H_

